<load target="./js/module_admin.js" usecdn="true" />
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="insertModuleSetup" action="./" method="post" enctype="multipart/form-data" class="form">
	<input type="hidden" name="module" value="module" />
	<input type="hidden" name="act" value="procModuleAdminModuleSetup" />
	<input type="hidden" name="module_srls" value="{$module_srls}" />
	<h1 class="h1">{$lang->bundle_setup}</h1>
	<ul>
		<li>
			<p class="q"><label for="module_category_srl">{$lang->module_category}</label></p>
			<p class="a">
				<select name="module_category_srl" id="module_category_srl">
					<option value="" selected="selected">{$lang->keep_existing_value}</option>
					<option value="0">{$lang->notuse}</option>
					<!--@foreach($module_category as $key => $val)-->
					<option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
					<!--@end-->
				</select>
			</p>
			<p class="desc">{$lang->about_module_category}</p>
		</li>
		<li>
			<p class="q"><label for="layout_srl">{$lang->layout}</label></p>
			<p class="a">
				<select name="layout_srl" id="layout_srl">
					<option value="" selected="selected">{$lang->keep_existing_value}</option>
					<option value="0">{$lang->notuse}</option>
					<!--@foreach($layout_list as $key => $val)-->
					<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
					<!--@end-->
				</select>
			</p>
			<p class="desc">{$lang->about_layout}</p>
		</li>
		<li cond="count($skin_list)">
			<p class="q"><label for="skin">{$lang->skin}</label></p>
			<p class="a">
				<select name="skin" id="skin">
					<option value="" selected="selected">{$lang->keep_existing_value}</option>
					<!--@foreach($skin_list as $key=>$val)-->
					<option value="{$key}" <!--@if($module_info->skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
					<!--@end-->
				</select>
			</p>
			<p class="desc">{$lang->about_skin}</p>
		</li>
		<li>
			<p class="q"><label for="description">{$lang->description}</label></p>
			<p class="a">
				<textarea name="description" id="description" rows="8" cols="42">{htmlspecialchars($module_info->description)}</textarea>
			</p>
			<p class="desc">{$lang->about_description}</p>
		</li>
		<li>
			<p class="q"><label for="header_text">{$lang->header_text}</label></p>
			<p class="a">
				<textarea name="header_text" id="header_text" rows="8" cols="42">{htmlspecialchars($module_info->header_text)}</textarea>
			</p>
			<p class="desc">{$lang->about_header_text}</p>
		</li>
		<li>
			<p class="q"><label for="footer_text">{$lang->footer_text}</label></p>
			<p class="a">
				<textarea name="footer_text" rows="8" cols="42">{htmlspecialchars($module_info->footer_text)}</textarea>
			</p>
			<p class="desc">{$lang->about_footer_text}</p>
		</li>
	</ul>
	<div class="btnArea">
		<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
	</div>
	
</form>
